package com.hh.balance.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author tiger
 * @version 1.0
 * @data 2022/10/20 11:33
 */
@TableName("user")
@Data
public class User {
    //主键
    @TableId(value = "id",type = IdType.AUTO)
    private int id;
    //用户名
    private String username;
    //钱包id
    private int balanceId;
}
